package com.zb.springboot_zb_sql.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserController {

    @GetMapping("/")
    public String index(){

       return  "index";

    }
    @GetMapping("/login")
    public String login(){
        return "login";
    }
    @GetMapping("/student/list")
    public String studentList(){
        return "student/list";
    }
    @GetMapping("/teacher/1")
    public String teacher1(){
        return "teacher/1";
    }

}
